package com.jz.community.modulemine.money.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.modulemine.money.bean.MoneyExchangeCodeBean;

public interface MoneyExchangeView extends MVPContract {
    interface View extends MVPContract.View {
        void getCodeSuccess(MoneyExchangeCodeBean entity);

        void exchangeSuccess();

        void getCodeFail(String msg);

        void exchangeFail(int code,String msg);


    }

    interface Presenter extends MVPContract.Presenter<MoneyExchangeView.View> {
        void initExchangeInfo(String code);

        void exchangeMoney(String code);

    }
}
